import request from '@/libs/request';

export default {
	//获取最近一条通知数据
	getTopNotify: (params = {}, options = {}) => {
		return request.get('/notify/getTopNotify', params, options)
	},
	//获取通知数据
	listNotify: (params = {}, options = {}) => {
		return request.get('/notify/listNotify', params, options)
	},
	//设置通知为已读
	readNotify: (params = {}, options = {}) => {
		return request.post('/notify/readNotify', params, options)
	}
}
